import http from '@/utils/http'
import type { AsaaaParams, AaaaaaInfo } from './types'

/**
 * @description 获取XXX列表
 * @Link https://XXXXX
 */
export function getAaaaList (params: VO.PageQuery<AsaaaParams>) {
  return http.get<VO.PageData<AaaaaaInfo>>('/aa/bbbbb', { data: params })
}

/**
 * @description 更新XXX信息
 * @Link https://XXXXX
 */
export function updataAaaa (params: AaaaaaInfo) {
  return http.post<boolean>('/aa/ccccc', { data: params })
}

/**
 * @description 获取XXX详情
 * @Link https://XXXXX
 */
export function getAaaaDetail (id: number) {
  return http.get<AaaaaaInfo>(`/aa/ddddddd${id}`)
}

